using UnityEngine;

public class DoorOpener : ObjectTrigger
{
	public DoorFrame Door;

	public override void Pickup(GameObject character)
	{
		if ((bool)Door)
		{
			Door.Access(character);
		}
		base.Pickup(character);
	}
}
